package cn.ywrby.mapper;

import cn.ywrby.domain.Apply;
import cn.ywrby.domain.ApplySubType;
import cn.ywrby.domain.ApplyType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApplyMapper {
    List<ApplyType> getAllApplyTypes();

    List<ApplySubType> getSubTypeList(String typeId);

    List<Apply> getApplyList(String userId);

    List<Apply> getApplyListByType(String userId, String typeId, String secondType);

    String getTypeId(String firstType);

}
